﻿using Castle.Components.DictionaryAdapter;

namespace SBlogCore.Common.App.Options
{
    /// <summary>
    /// 上传文件最大限制
    /// </summary>
    public class UploadFileOption
    {
        /// <summary>
        /// 
        /// </summary>
        public List<FileOption> Options { get; set; } = new EditableList<FileOption>();
        /// <summary>
        /// 
        /// </summary>
        public string? UploadFilePath { get; set; }
    }

    public class FileOption
    {
        public string? FileType { get; set; }
        public long? SizeMax { get; set; }
    }
}
